<template>
  <view class="">
    <image :src="url" mode="widthFix" v-if="url" class="img"></image>
  </view>
</template>

<script>
export default {
  data () {
    return {
      url: ''
    }
  },
  methods: {
    
  },
  onShow() {
    
  },
  onLoad(option) {
    this.url = option.protocolUrl;
    uni.setNavigationBarTitle({
      title: option.name
    });
  }
}
</script>

<style lang="scss" scoped>
  .img {
    width: 100%;
  }
</style>
